this.BX=this.BX||{};this.BX.Landing=this.BX.Landing||{};(function(i){"use strict";var e=function(){function i(){babelHelpers.classCallCheck(this,i)}babelHelpers.createClass(i,null,[{key:"openDialog",value:function i(e){var n=e.onSelect;var t="/bitrix/tools/disk/uf.php?action=selectFile&dialog2=Y&SITE_ID="+BX.message("SITE_ID");var a="LandingDiskFile";BX.ajax.get(t,"multiselect=N&dialogName="+a,BX.delegate((function(){setTimeout(BX.delegate((function(){BX.DiskFileDialog.obElementBindPopup[a].overlay={backgroundColor:"#cdcdcd",opacity:".1"};BX.DiskFileDialog.obCallback[a]={saveButton:function(i,e,t){var a=t[Object.keys(t)[0]];if(!a){return}var l=a.id;if(l[0]==="n"){l=l.substring(1)}if(n){n(l)}}.bind(this)};BX.DiskFileDialog.openDialog(a)}),this),10)}),this))}}]);return i}();i.Disk=e})(this.BX.Landing.Connector=this.BX.Landing.Connector||{});
//# sourceMappingURL=connector.disk.bundle.map.js